package com.ruoyi.personnel.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 认证审核对象 e_certification_review
 *
 * @author ruoyi
 * @date 2024-11-24
 */
@Data
public class ECertificationReview extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键(快递员认证审核) */
    @Excel(name = "主键(快递员认证审核)")
    private Long id;

    /** 认证类型 */
    @Excel(name = "认证类型")
    private Long certificationType;

    /** 证件类型 */
    @Excel(name = "证件类型")
    private Long documentType;

    /** 工牌或名片照片 */
    @Excel(name = "工牌或名片照片")
    private String workIdPhoto;

    /** 证件正面 */
    @Excel(name = "证件正面")
    private String frontOfTheCredential;

    /** 手持证件正面照 */
    @Excel(name = "手持证件正面照")
    private String pictureOfHoldingTheFrontOfTheCredential;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date reviewTime;

    /*创建开始时间*/
    @TableField(exist = false)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date beginCreateTime;

    /*创建结束时间*/
    @TableField(exist = false)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date endCreateTime;

    /*审核开始时间*/
    @TableField(exist = false)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date beginReviewTime;

    /*审核结束时间*/
    @TableField(exist = false)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date endReviewTime;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /*拒绝中文原因*/
    private String rejectionReasonsCN;

    /*拒绝英文原因*/
    private String rejectionReasonsEN;

    /*快递员外键*/
    private Long pid;

    /*快递员id*/
    @TableField(exist = false)
    private Long perId;

    /*头像*/
    @TableField(exist = false)
    private String avatar;

    /*手机号码*/
    @TableField(exist = false)
    private String phone;

    /*认证类型*/
    @TableField(exist = false)
    private Long registrationType;

    /*快递公司*/
    @TableField(exist = false)
    private String courierCompany;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCertificationType(Long certificationType)
    {
        this.certificationType = certificationType;
    }

    public Long getCertificationType()
    {
        return certificationType;
    }
    public void setDocumentType(Long documentType)
    {
        this.documentType = documentType;
    }

    public Long getDocumentType()
    {
        return documentType;
    }
    public void setWorkIdPhoto(String workIdPhoto)
    {
        this.workIdPhoto = workIdPhoto;
    }

    public String getWorkIdPhoto()
    {
        return workIdPhoto;
    }
    public void setFrontOfTheCredential(String frontOfTheCredential)
    {
        this.frontOfTheCredential = frontOfTheCredential;
    }

    public String getFrontOfTheCredential()
    {
        return frontOfTheCredential;
    }
    public void setPictureOfHoldingTheFrontOfTheCredential(String pictureOfHoldingTheFrontOfTheCredential)
    {
        this.pictureOfHoldingTheFrontOfTheCredential = pictureOfHoldingTheFrontOfTheCredential;
    }

    public String getPictureOfHoldingTheFrontOfTheCredential()
    {
        return pictureOfHoldingTheFrontOfTheCredential;
    }
    public void setReviewTime(Date reviewTime)
    {
        this.reviewTime = reviewTime;
    }

    public Date getReviewTime()
    {
        return reviewTime;
    }

    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }

    public Date getCreateTime()
    {
        return createTime;
    }

    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    public void setPid(Long pid){ this.pid=pid; }

    public Long getPid(){
        return pid;
    }

    public void setRejectionReasonsCN(String rejectionReasonsCN){ this.rejectionReasonsCN=rejectionReasonsCN; }

    public String getRejectionReasonsCN(){ return rejectionReasonsCN; }

    public void setRejectionReasonsEN(String rejectionReasonsEN){ this.rejectionReasonsEN=rejectionReasonsEN; }

    public String getRejectionReasonsEN(){ return rejectionReasonsEN; }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("certificationType", getCertificationType())
                .append("documentType", getDocumentType())
                .append("workIdPhoto", getWorkIdPhoto())
                .append("frontOfTheCredential", getFrontOfTheCredential())
                .append("pictureOfHoldingTheFrontOfTheCredential", getPictureOfHoldingTheFrontOfTheCredential())
                .append("createTime", getCreateTime())
                .append("reviewTime", getReviewTime())
                .append("status", getStatus())
                .append("rejectionReasonsCN", getRejectionReasonsCN())
                .append("rejectionReasonsEN", getRejectionReasonsEN())
                .append("pid", getPid())
                .toString();
    }
}
